package com.example.sharding.mapper;

import com.example.sharding.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
* @author admin
* @description 针对表【user】的数据库操作Mapper
* @createDate 2024-09-26 10:44:02
* @Entity com.example.sharding.domain.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user where create_time ='2024-09-26 10:06:46'")
    User getUser(String date);

}




